
public class Point3d {

    private float x;
    private float y;
    private float z;
    
    public Point3d() {
        x = 0.0f;
        y = 0.0f;
        z = 0.0f;
    }
    
    public Point3d(float x, float y, float z) {
        this.x = x;
        this.y = y;
        this.z = z;
    }
    
    public Point3d(Point3d realPoint, float realXTrans, float realYTrans) {
        this.setRealPoint3d(realPoint, realXTrans, realYTrans);
    }

    public void setRealPoint3d(Point3d realPoint, float realXTrans, float realYTrans) {
        this.x = -realPoint.getY() + realYTrans;
        this.z = realPoint.getX() - realXTrans;
        this.y = -realPoint.getZ(); 
    }
    
    public float getX() {
        return x;
    }

    public void setX(float x) {
        this.x = x;
    }

    public float getY() {
        return y;
    }

    public void setY(float y) {
        this.y = y;
    }

    public float getZ() {
        return z;
    }

    public void setZ(float z) {
        this.z = z;
    }
    
}
